package com.docmgmt.mvp.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

/**
 * 创建用户组请求（USER-006）
 *
 * @author Dora
 */
@Data
@Schema(description = "创建用户组请求")
public class CreateUserGroupRequest {

    @NotBlank(message = "组名不能为空")
    @Size(max = 100, message = "组名长度不能超过100字符")
    @Schema(description = "组名", example = "项目X团队", required = true)
    private String name;

    @Size(max = 500, message = "描述长度不能超过500字符")
    @Schema(description = "组描述", example = "项目X的核心开发团队")
    private String description;

    @Schema(description = "初始成员ID列表（可选）", example = "[2, 3, 4]")
    private List<Long> initialMemberIds;
}
